﻿/// <reference path="views/category.html" />
var app = angular.module("app", [
    'ngRoute',
    'ngResource'
]);

app.config(function ($routeProvider) {
    $routeProvider.when("/category", {
        //controller : categoryController
        templateUrl: "/app/views/category.html"
    });

    $routeProvider.when("/product", {
        //controller : productController
        templateUrl: "/app/views/product.html"
    });

    $routeProvider.when("/menu", {
        //controller : productController
        templateUrl: "/app/views/menu.html"
    });
    $routeProvider.otherwise({ redirectTo: "/" });
});